<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>微信消息模板</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
		<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="wxAppMsgTemplateController.do?doUpdate" tiptype="1" >
					<input id="id" name="id" type="hidden" value="${wxAppMsgTemplatePage.id }">
					<input id="createName" name="createName" type="hidden" value="${wxAppMsgTemplatePage.createName }">
					<input id="createBy" name="createBy" type="hidden" value="${wxAppMsgTemplatePage.createBy }">
					<input id="createDate" name="createDate" type="hidden" value="${wxAppMsgTemplatePage.createDate }">
					<input id="updateName" name="updateName" type="hidden" value="${wxAppMsgTemplatePage.updateName }">
					<input id="updateBy" name="updateBy" type="hidden" value="${wxAppMsgTemplatePage.updateBy }">
					<input id="updateDate" name="updateDate" type="hidden" value="${wxAppMsgTemplatePage.updateDate }">
					<input id="sysOrgCode" name="sysOrgCode" type="hidden" value="${wxAppMsgTemplatePage.sysOrgCode }">
					<input id="sysCompanyCode" name="sysCompanyCode" type="hidden" value="${wxAppMsgTemplatePage.sysCompanyCode }">
		<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
					<tr>
						<td align="right" colspan="2">
							<label class="Validform_label">
								模板id:
							</label>
						</td>
						<td class="value" colspan="4" >
						     	 <input id="templateId" name="templateId" type="text" style="width: 300px" class="inputxt"  value='${wxAppMsgTemplatePage.templateId}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">模板id</label>
						</td>
					<tr>
						<td align="right" colspan="2">
							<label class="Validform_label">
								模板名称:
							</label>
						</td>
						<td class="value" colspan="4">
						     	 <input id="name" name="name" type="text" style="width: 300px" class="inputxt"  value='${wxAppMsgTemplatePage.name}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">模板名称</label>
						</td>
					</tr>
					<tr>
						<td align="right" colspan="2">
							<label class="Validform_label">
								内容:
							</label>
						</td>
						<td class="value" colspan="4">
						    <textarea id="content" name="content" type="text" style="width: 300px;height: 80px;" class="inputxt"  >${wxAppMsgTemplatePage.content}</textarea>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">内容</label>
						</td>
					<tr>
						<td align="right" colspan="2">
							<label class="Validform_label">
								模板范例:
							</label>
						</td>
						<td class="value" colspan="4">
						     	 <textarea id="example" name="example" type="text" style="width: 300px;height: 80px;" class="inputxt" class="inputxt" >${wxAppMsgTemplatePage.example}</textarea>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">模板范例</label>
						</td>
					</tr>
					<tr>
						<td align="right" colspan="2">
							<label class="Validform_label">
								小程序id:
							</label>
						</td>
						<td class="value" colspan="4">
						     	 <input id="appId" name="appId" type="text" style="width: 300px" class="inputxt"  value='${wxAppMsgTemplatePage.appId}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">小程序id</label>
						</td>
					<tr>
						<td align="right" colspan="2">
							<label class="Validform_label">
								模板类型:
							</label>
						</td>
						<td class="value" colspan="4">
						     	 <input id="type" name="type" type="text" style="width: 300px" class="inputxt"  value='${wxAppMsgTemplatePage.type}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">模板类型</label>
						</td>
					</tr>
			</table>
		</t:formvalid>
 </body>
  <script src = "webpage/com/gomore/wechat/component/message/wxAppMsgTemplate.js"></script>		
